package chapterThree;

class Bird {
	{
		System.out.print("b1 ");
	}

	public Bird() {
		System.out.print("b2 ");
	}
}

class Raptor extends Bird {
	

	public Raptor() {
		super();
		System.out.print("r2 ");
	}

	{
		System.out.print("r3 ");
	}
	
}

public class Hawk extends Raptor {
	/*{
		
		System.out.print("polo ");
	}
*/
	
	Hawk(){
		
		System.out.print("spic ");
	}
	
	public static void main(String[] args) {
		System.out.print("pre "); //third because pre extends Raptor so while loading the main the the static blocs are inited the first
		new Hawk();
		System.out.println("hawk ");
	}
}